package bcxd.firstline.login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import jt.classic.system.context.ISystemContext;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.limp.basework.impl.CommonBean4HSQ;
import org.limp.mine.StringTool;

import com.alibaba.fastjson.JSON;

/**
 * 平台注销
 * 
 * @author mido
 * 
 */
public class BCXDLogoutAction extends Action {
	/**
	 * 
	 */
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		ISystemContext.removeSessionUser(request);

		response.sendRedirect("/");

		return null;
	}
}
